home *** CD-ROM | disk | FTP | other *** search
/ Micromanía 92 / CDMM92_1.ISO / SOF 2 SDK / sof2sdk-101.msi / _92D6AC311BB48EBA344BBABC89DA6AB0 / _E548C5323CC94436A91F09283F272BC0 < prev    next >
Encoding:
Text File  |  2002-04-08  |  2.7 KB  |  167 lines

  1. {
  2.     \\ PLATER SELECTION
  3.  
  4.     menuDef 
  5.     {
  6.         name        "player_menu"
  7.         visible        0
  8.         fullscreen    0
  9.         rect        50 110 432 254
  10.         focusColor    .49 .56 .27 1
  11.     
  12.         onOpen 
  13.         { 
  14.             uiScript update "ui_GetName" ; 
  15.             uiScript "UpdateModel";
  16.         }
  17.  
  18.         onClose 
  19.         { 
  20.             uiScript update "ui_SetName" 
  21.         }
  22.  
  23.         itemDef 
  24.         {
  25.             name        name_field
  26.             text        "Name"
  27.             style        WINDOW_STYLE_EMPTY
  28.             textfont        "hud"
  29.             textscale        .53
  30.             rect        20 19 215 20
  31.             textalign    ITEM_ALIGN_LEFT
  32.             textalignx    0
  33.             textaligny    2
  34.             forecolor    .12 .14 .08 1
  35.             visible        1
  36.             decoration
  37.         }
  38.  
  39.         itemDef 
  40.         {
  41.             name            name_field
  42.             style            WINDOW_STYLE_FILLED
  43.             group            "playersettinggroup"
  44.             type            ITEM_TYPE_EDITFIELD
  45.             cvar            "ui_Name"
  46.             maxChars        32
  47.             maxPaintChars    26
  48.             rect            15 39 320 25
  49.             textalign        ITEM_ALIGN_LEFT        
  50.             textalignx        5
  51.             textaligny        2
  52.             textfont        "hud"
  53.             textscale        .53
  54.             forecolor        1 1 1 1
  55.             backcolor        0 0 0 .25
  56.             visible            1 
  57.  
  58.             action
  59.             {
  60.                 play "sound/misc/menus/select.wav" ; 
  61.             }
  62.  
  63.             mouseEnter 
  64.             { 
  65.                 play "sound/misc/menus/hilite1.wav" ; 
  66.             }
  67.         }
  68.  
  69.         itemDef 
  70.         {
  71.             name        modelselection
  72.             ownerdraw    UI_PLAYERMODEL
  73.             rect        300 9 156 204
  74.             style        1
  75.             visible        1
  76.             decoration 
  77.         }
  78.  
  79.         itemDef 
  80.         {
  81.             name        identity_field
  82.             text        "Identity"
  83.             style        WINDOW_STYLE_EMPTY
  84.             textfont        "hud"
  85.             textscale        .53
  86.             rect        20 94 215 20
  87.             textalign    ITEM_ALIGN_LEFT
  88.             textalignx    0
  89.             textaligny    2
  90.             forecolor    .12 .14 .08 1
  91.             visible        1
  92.             decoration
  93.         }
  94.  
  95.         itemDef 
  96.         {
  97.             name            headlist
  98.             rect            15 114 303 90
  99.             group            grpquaketype    
  100.             type            ITEM_TYPE_LISTBOX
  101.             elementwidth    32
  102.             elementheight    64
  103.             elementtype        LISTBOX_IMAGE
  104.             feeder            FEEDER_IDENTITIES
  105.             horizontalscroll
  106.             border            1
  107.             bordersize        1
  108.             outlinecolor    .69 .89 .27 1
  109.             bordercolor        0 0 0 1
  110.             forecolor        1 1 1 1
  111.             visible            1
  112.  
  113.             cvarTest        "ui_info_teamgame"
  114.             showCvar 
  115.             { 
  116.                 "0";
  117.             }
  118.  
  119.             action
  120.             {
  121.                 play "sound/misc/menus/select.wav" ; 
  122.             }
  123.  
  124.             mouseEnter 
  125.             { 
  126.                 play "sound/misc/menus/hilite1.wav" ; 
  127.             }
  128.         }
  129.  
  130.         itemDef 
  131.         {
  132.             name            headlist
  133.             rect            15 114 303 90
  134.             group            grpquaketype    
  135.             type            ITEM_TYPE_LISTBOX
  136.             elementwidth    32
  137.             elementheight    64
  138.             elementtype        LISTBOX_IMAGE
  139.             feeder            FEEDER_TEAMIDENTITIES
  140.             horizontalscroll
  141.             border            1
  142.             bordersize        1
  143.             outlinecolor    .69 .89 .27 1
  144.             bordercolor        0 0 0 1
  145.             forecolor        1 1 1 1
  146.             visible            1
  147.  
  148.             cvarTest        "ui_info_teamgame"
  149.             hideCvar 
  150.             { 
  151.                 "0";
  152.             }
  153.  
  154.             action
  155.             {
  156.                 play "sound/misc/menus/select.wav" ; 
  157.             }
  158.  
  159.             mouseEnter 
  160.             { 
  161.                 play "sound/misc/menus/hilite1.wav" ; 
  162.             }
  163.         }
  164.     }
  165. }
  166.  
  167.